<div class="section">
	<include file="Admin/Public/header" />
	<div class="sysytem-app-main top-margin-20">
		<div class="row">
			<div class="system-app-search">
				<div class="panel panel-default">
					  <div class="panel-heading">
					    <h3 class="panel-title">搜索文章</h3>
					  </div>
					  <div class="panel-body">
					    <form action="<{$search.act_url}>" class="form-inline" role="form" method="get">
					    	
					    	<div class="form-group margin-right-5">
					    		<label for="title">标题:</label>
					    		<input  class="form-control" type="text" name="title" id="title" value="<{$search.title}>" />
					    	</div>
					    	<div class="form-group margin-right-5">
					    		<label for="title">分类选择:</label>
					    		<select name="cat_id" class="form-control">
					    			<option value="-1">请选择</option>
					    			<volist name="catlist" id="vo">
							    		<option value="<{$vo.cid}>" <if condition="$vo['cid'] eq $search['cat_id']">selected</if>><{$vo.cname}></option>
							    		<if condition="$vo['child']">
								    		<volist name="vo['child']" id="sub" >
								    			<option value="<{$sub.cid}>" <if condition="$sub['cid'] eq $search['cat_id']">selected</if>><{$sub.cname}></option>
								    		</volist>
							    		</if>
							    	</volist>
					    		</select>
					    	</div>
					    	<div class="form-group margin-right-5">
					    	<button type="submit" class="btn btn-info">搜索</button>
					    	</div>
					    </form>
					  </div>
				</div>
			</div>
		</div>

		<div class="row">
			<div class="system-app-list">
				<div class="panel panel-default">
					  <div class="panel-heading">
					    <h3 class="panel-title ">记录列表</h3>
					  </div>
					    <table class="table table-bordered table-hover" width="100%">
					    <colgroup>
					    	<col></col>
					    	<col class="col-lg-3"></col>
					    	<col ></col>
					    	<col ></col>
					    	<col></col>
					    	<col ></col>
					    	<col ></col>
					    	<col ></col>
					    </colgroup>
					    <thead>
					    	<tr class="bg-water">
					    	<td style="text-align:left">
						  <input type="checkbox" id="blankCheckbox" value="option1" aria-label="...">全选
  						</td>
					    	<td>标题</td>
					    	<td>所属分类</td>
					    	<td>阅读人数</td>
					    	<td>状态</td>
					    	<td>创建时间</td>
					    	<td>更新时间</td>
					    	<td>操作</td>
					    </tr>
					    </thead>
					    
					    <if condition="$count">
					    <tbody>
					    <volist name="list" id="vo">
					    	<tr>
						    	<td style="text-align:left">
						    		<input type="checkbox" id="blankCheckbox" value="<{$vo.aid}>" name="aid[]">
						    	</td>
						    	<td><{$vo.title}></td>
						    	<td><{$vo.cname}></td>
						    	<td><{$vo.read_num}></td>
						    	<td><{$vo.status}></td>
						    	<td><{$vo.created|date="Y-m-d H:i:s",###}></td>
						    	<td><{$vo.updated|date="Y-m-d H:i:s",###}></td>
						    	<td>编辑|删除</td>

					    	</tr>
					    </volist>
					    	
					    </tbody>
					    <tfoot>
					    	<td colspan="2">
							<button type="button" class="btn btn-danger" id="del_button">批量删除</button>
						</td>
						<td colspan="6" class="text-right">
							<div class="text-right pull-right"><{$pager}></div>
							<span class="page-number">共&nbsp;<em class="text-primary"><{$count}></em>&nbsp;条记录</span>
							
						</td>
					    </tfoot>
					    <else />
					    <tr>
					    <td colspan="8">还没有数据</td>
					    </tr>
					    </if>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>